package com.xaomn.common.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author xaoMn
 * @title: MybatisPlusConfig
 * @projectName yjs
 * @description: 配置分页插件
 * @date 日期：2022/1/29 时间：22:36
 */
@Configuration
public class MybatisPlusConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}
